import Button from './Button';

export default class OutdentButton extends Button {

  _init() {
    let result = super._init.call(this);
    this.title = `${this._t(this.name)} (Shift + Tab)`;
    return result;
  }

  _status() { }

  command() {
    return this.editor.indentation.indent(true);
  }
}

OutdentButton.prototype.name = 'outdent';
OutdentButton.prototype.icon = 'outdent';